package homework.ball;

public class Ball {
     String mc;
     String dx;
     String cz;
     String zl;
     String rq;
     static String tc;
     static String shape;

    public Ball() {
    }

    String zwjs() {
         return "我是"+mc+",我的直径是"+dx+"，我的材料是"+cz+",我的重量是"+zl+",我适合"+rq+"使用"+",我的填充式"+tc+",我的形状是"+shape;
     }

    String play(){
         return "每天打会球，健康一辈子";
    }

    final void no(){
        this.tc="空气";
        this.shape="圆";
    }

     public Ball(String mc, String dx, String cz, String zl, String rq,String tc,String shape){
         this.mc=mc;
         this.dx=dx;
         this.cz=cz;
         this.zl=zl;
         this.rq=rq;
         no();
     }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getDx() {
        return dx;
    }

    public void setDx(String dx) {
        this.dx = dx;
    }

    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    public String getZl() {
        return zl;
    }

    public void setZl(String zl) {
        this.zl = zl;
    }

    public String getRq() {
        return rq;
    }

    public void setRq(String rq) {
        this.rq = rq;
    }


}
